SetServerCertificateName
Description
call SetServerCertificateName to set the server certificate name.
Request Method
POST
Request Path
/apsara/route/Slb/SetServerCertificateName
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| ServerCertificateId | BODY | string | Yes | 139a****-cn-qingdao-env17-d01 | server certificate ID. |
| ServerCertificateName | BODY | string | Yes | slb-servercertificate-cn-east-hangzhou**** | server certificate name. 1 to 80 English or Chinese characters in length, which must start with an uppercase or a Chinese letter and can contain numbers, half-width periods (.), underscores (_), and dashes (-). |
| RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the load balancing instance. you can query the region by calling DescribeRegions interface ID. |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | CEF72CEB-54B6-4AE8-B225-F876FE7BA984 | request ID. |
Example
Successful Response example
{
"RequestId":"CEF72CEB-54B6-4AE8-B225-F876FE7BA984"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}